<template>
	<div style="width: 100%;position: relative;padding: 0px;border-bottom: 10px;">
		<div style="font-size: 20px;font-weight: bold;margin-left: 6px;">单据号:BG-2022040000001</div>
		<div style="position: absolute;right:6px;top: 0px;font-size: 12px;display: flex;align-items: center;">
			<span>创建人</span>
			<el-avatar src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png" size="small"></el-avatar>
			<span>豪客</span>
		</div>
	</div>
</template>

<script>
	import utils from '@/utils/utils.js';
	export default {
		name: "TitleComponent",
		props: ["componentModel"],
		inject:['children'],
		mounted() {
			this.children.push(this);
		},beforeUnmount() {
			utils.removeArrayElement(this.children,this);
		},
		methods: {
			setProp() {
				
			}
		},
	}
</script>

<style>
</style>

